package com.wego.converter;

import com.wego.bean.IdName;
import com.wego.entity.domain.Category;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @className: CategoryConverter
 * @description: TODO 类描述
 * @author: Kuangkeli
 * @date: 2023/07/13 9:06
 **/
@Mapper(componentModel = "spring")
public interface CategoryConverter {

    List<IdName> categoryList2IdNameList(List<Category> categoryList);

}
